package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MallUserDeliveryAddressModel = (*customMallUserDeliveryAddressModel)(nil)

type (
	// MallUserDeliveryAddressModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMallUserDeliveryAddressModel.
	MallUserDeliveryAddressModel interface {
		mallUserDeliveryAddressModel
	}

	customMallUserDeliveryAddressModel struct {
		*defaultMallUserDeliveryAddressModel
	}
)

// NewMallUserDeliveryAddressModel returns a model for the database table.
func NewMallUserDeliveryAddressModel(conn sqlx.SqlConn) MallUserDeliveryAddressModel {
	return &customMallUserDeliveryAddressModel{
		defaultMallUserDeliveryAddressModel: newMallUserDeliveryAddressModel(conn),
	}
}
